<?php if (!defined('THINK_PATH')) exit();?>
<!DOCTYPE html>
<html>
<head>
	<meta charset="UTF-8">
	<meta name="renderer" content="webkit">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<title>用户登录</title>
	<link rel="stylesheet" href="/yuejian/Public/css/base.css" />
	<link rel="stylesheet" href="/yuejian/Public/css/login.css" />
</head>
<body>
<div class="superlogin"></div>
<div class="loginBox">
	<div class="loginMain">
		<div class="tabwrap">
		<form method="post" action="<?php echo U('Index/checkLogin');?>">
			<table border="0" cellspacing="0" cellpadding="0">
				<tr>
					<td class="title">用户名：</td>
					<td><input placeholder="用户名(必填)" type="text" id="username" name="username" required  title="请填写正确的用户名" class="form-control txt" /></td>
				</tr>
				<tr>
					<td class="title">密   码：</td>
					<td><input class="form-control txt" placeholder="密码(必填)" type="password" id="password" name="password" required/></td>
				</tr>
				<tr>
					<td class="title">验证码：</td>
					<td><input placeholder="验证码" type="text"    required  name="verify" class="form-control txt txt2" /><span class="yzm"><img id="verifyImg" src="<?php echo U('verify');?>" onClick="fleshVerify()" title="点击刷新验证码" style="cursor:pointer;border:0px" width="100" height="45"></span></td>
				</tr>
				<!-- <tr class="errortd"><td>&nbsp;</td><td><i class="ico-error"></i><span class="errorword">用户名或密码错误，请重新输入！</span></td></tr> -->		
				<tr>
					<td>&nbsp;</td><td><input type="submit" class="loginbtn" value="登录"/><input type="submit" class="resetbtn" value="刷新" href="<?php echo U(Index/index);?>"/></td>
				</tr>		
				<tr><td>&nbsp;</td><td class="forgetpsw"></td></tr>	
			</table>
		</form>
		</div>
	</div>
</div>
<div class="footer">Copyright © 2016-2017 jianet  All Rights Reserved.</div>
</body>
<script language="JavaScript">
    function fleshVerify(){
        document.getElementById("verifyImg").src="<?php echo U('verify');?>";
    }
</script>
</html>